package com.chao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chao.entity.Department;
import com.chao.mapper.DepartmentMapper;
import com.chao.service.DepartmentService;
import org.springframework.stereotype.Service;

@Service
public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper, Department> implements DepartmentService {

    @Override
    public int addOfPrimary(Department department) {
        return getBaseMapper().addOfPrimary(department);
    }
}
